import service from '@/network/request';

// 上传图片
export const uploadPicture = (data, params) => {
  return service({
    url: '/file/upload',
    method: 'post',
    headers: { 
      'Content-Type': 'multipart/form-data' 
    },
    data: data,
    params: params,
  })
}
